package com.tomato.spring.framework.test.data;

import com.tomato.spring.framework.core.annotation.Controller;
import com.tomato.spring.framework.injection.annotation.Autowired;
import lombok.extern.slf4j.Slf4j;

@Controller
@Slf4j
public class StudentController {
    @Autowired("StudentService")
    private IStudentService studentService;

    public void save() {
        log.info("controller: save student...");
        studentService.save();
    }
}
